package study.concurrent.lock.support.redisson;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class RedissonConfig {

    private static final String CONFIG_FILE = "redisson-cfg.yml";

//    @Bean
//    public RedissonClient redissonClient() throws IOException {
//        InputStream is = ResourceUtil.getStream(CONFIG_FILE);
//        Config config = Config.fromYAML(is);
//        return Redisson.create(config);
//    }
}
